<div class="albumHeader">
	<div class="uiHeaderActions rfloat">
		<span class="async_throbber_left">
			<span class="mls stat_elem photoSetViewSwitcherThrobber">
				<a title="<?php echo $this->translate('Album View');?>" id="fbxPhotoSetViewSwitcherGrid" href="<?php echo $this->Url(array('action'=> 'view', 'album_id' => $this->subject()->getIdentity()), 'album_specific', true);?>" class="photoSetViewSwitcher uiButton uiButtonLarge <?php echo ($this->view_type == '')? 'uiButtonDepressed' : ''?> uiButtonNoText">
					<i class="mrs photoSetViewSwitcherIcon customimg img sp_7ti0w0 sx_8efe2b"></i>
					<span class="uiButtonText"></span>
				</a>
				<a title="<?php echo $this->translate('Comment View');?>" id="fbxPhotoSetViewSwitcherComment" href="<?php echo $this->Url(array('action'=> 'view', 'album_id' => $this->subject()->getIdentity(),'view_type' => 'comment'), 'album_specific', true);?>" class="photoSetViewSwitcher uiButton uiButtonLarge  <?php echo ($this->view_type == 'comment')? 'uiButtonDepressed' : ''?> uiButtonNoText">
					<i class="mrs photoSetViewSwitcherIcon customimg img sp_7ti0w0 sx_c7c415"></i>
					<span class="uiButtonText"></span>
				</a>
			</span>
		</span>
		 <?php if( $this->mine || $this->canEdit ): ?>
		<span class="mls">
			<div id="uwaefj_5" class="flashUploaderOverlayButton stat_elem">
				<a id="uwaefj_6" href="<?php echo $this->url(array('action' => 'upload', 'album_id' => $this->subject->album_id), 'album_general')?>" class="uiButton">
					<span class="uiButtonText"><?php echo $this->translate('Add Photos')?></span>
				</a>
			</div>
		</span>
		<?php endif;?>
		<?php if( $this->viewer()->getIdentity() && $this->canComment ): ?>
			<span id="likeAlbum"  class="mls" style="display: <?php echo ($this->subject()->likes()->isLike($this->viewer()))?'none': '';?>">
				<a class="uiButton" onclick="en4.ialbum.comments.like('<?php echo $this->subject()->getType()?>', '<?php echo $this->subject()->getIdentity() ?>')">
					<i class="mrs img sp_7ti0w0 sx_45fd42"></i>
					<span class="uiButtonText"><?php echo $this->translate('Like')?></span></a>
			</span>
			<span id="unLikeAlbum"  class="mls" style="display: <?php echo ($this->subject()->likes()->isLike($this->viewer()))?'': 'none;';?>">
				<a class="uiButton"  onclick="en4.ialbum.comments.unlike('<?php echo $this->subject()->getType()?>', '<?php echo $this->subject()->getIdentity() ?>')" >
					<i class="mrs img sp_7ti0w0 sx_45fd42"></i>
					<span class="uiButtonText"><?php echo $this->translate('Unlike')?></span></a>
			</span>
		<?php endif;?>
	</div>
	
	<div>
		<h2 class="headerTitle" ><?php echo $this->subject->getTitle()?></h2>
	</div>
	
	<div class="subTitle">
		<?php echo $this->translate('By')?> <?php echo $this->htmlLink($this->subject->getOwner(), $this->subject->getOwner()->__toString())?>
		 (<a href="<?php echo $this->url(array('action'=>'show', 'user_id'=>$this->subject()->owner_id), 'album_general', true);?>"><?php echo $this->translate('Albums');?></a>)
		  - <?php echo $this->translate('Updated')?> <?php echo $this->timestamp($this->subject->modified_date)?>
		  <?php if( $this->mine || $this->canEdit ): ?>
		  - <a href="<?php echo $this->url(array('action' => 'edit', 'album_id' => $this->subject->album_id), 'album_specific');?>" style="padding-left: 15px;" class="iconText">
		  	<i style="top: 2px;" class="img sp_928uvu sx_ec3fa0"></i>
		  	<?php echo $this->translate('Edit Album')?>
		  	</a>
		  - <a href="<?php echo $this->url(array('action' => 'delete', 'album_id' => $this->subject->album_id), 'album_specific');?>" style="padding-left: 20px;" class="iconText smoothbox">
			  	<i style="top: 0;" class="img sp_928uvu icon_delete"></i>
			  	<?php echo $this->translate('Delete Album')?>
		  	</a>
		  - <a href="<?php echo $this->url(array('action' => 'editphotos', 'album_id' => $this->subject->album_id), 'album_specific');?>" style="padding-left: 20px;" class="iconText">
			  	<i style="top: 0;" class="img sp_928uvu icon_photos_new"></i>
			  	<?php echo $this->translate('Manage Photos')?>
		  	</a>
		  <?php endif;?>
	</div>
</div>